#include  <stdio.h>
typedef struct birth
{
    int year;
    int month;
    int day;
}birth;

struct student
{
    char name[20];
    int age;
    float score;
    char sex;
    birth Birthday;
}c;
struct student c={"lihua",21,100.0,'m',{2004,9,18}};

void output(void)
{
    printf("name:%s age:%d score:%f sex:%c year:%d month:%d day:%d",
    c.name,c.age,c.score,c.sex,c.Birthday.year,c.Birthday.month,c.Birthday.day );
}
int main()
{
    output();
}